<?php

session_start();
if (!isset($_SESSION['user']))
{
	header('Location: backoffice');
}

$index = new View('backoffice/index');
$index->content = new View();

echo $index;

?>